package org.farm2.skc.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.NoArgsConstructor;

/**知识版本 
 * @author cbtg自动生成  2025-2-4 12:17:07 
 */
@Data
@NoArgsConstructor
public class SkcKnowVersionDto {

   
    private String id;
    @NotBlank(message = "{farm2.validate.template.notnull}")
    @Size(min = 0, max = 256, message = "{farm2.validate.template.size}")
    private String title;
   
    private String state;
   
    private String ctime;
    @NotBlank(message = "{farm2.validate.template.notnull}")
    @Size(min = 0, max = 64, message = "{farm2.validate.template.size}")
    private String cusername;
   
    private String cuserkey;
   
    @Size(min = 0, max = 128, message = "{farm2.validate.template.size}")
    private String pcontent;
   
    private String knowid;
}